package com.shiro.service.impl;


import com.shiro.dao.SysRoleDao;
import com.shiro.entity.SysRoleEntity;
import com.shiro.service.SysRoleService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * 后台角色表
 * 
 * @author zhiyuan
 * @email tianzhiyuanemail@163.com
 * @date 2018-12-04 17:17:12
 */
@Service
public class SysRoleServiceImpl implements SysRoleService {

    @Resource
    private SysRoleDao sysRoleDao;

    @Override
    public SysRoleEntity queryObject(Integer id) {
        return sysRoleDao.queryObject(id);
    }

    @Override
    public List<SysRoleEntity> queryList(Map<String, Object> map) {
        return null;
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return 0;
    }

    @Override
    public void save(SysRoleEntity sysRole) {

    }

    @Override
    public void update(SysRoleEntity sysRole) {

    }

    @Override
    public void delete(Integer id) {

    }

    @Override
    public void deleteBatch(Integer[] ids) {

    }

    @Override
    public SysRoleEntity queryObjectByRoleName(String roleName) {
        return sysRoleDao.queryObjectByRoleName(roleName);
    }
}
